<?php


namespace app\api\controller;

/**
 * Class 油卡
 * @package app\api\controller
 */
class Oilcard extends \app\common\controller\Api
{
    protected $noNeedLogin = ['*'];

    /**
     * 油卡列表
     */
    public function oil_card_list(){
        $page = input('page',1);
        $limit = input('limit',10);
        $list = db('oil_card')
            ->order('id DESC')
            ->page($page,$limit)
            ->select();
        $this->success('ok',$list);
    }
}